Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​AspNetCore.​Authentication.​SignInAuthenticationHandler<​TOptions>
Assembly: Microsoft.AspNetCore.Authentication
Inheritance: object → AuthenticationHandler<​TOptions> → SignOutAuthenticationHandler<​TOptions> → SignInAuthenticationHandler
Implemented Interfaces
Adds support for SignInAsync
Properties
public
AuthenticationScheme
Scheme
public
TOptions
Options
protected
Http.​HttpContext
Context
protected
Http.​HttpRequest
Request
protected
Http.​HttpResponse
Response
protected
Http.​PathString
OriginalPath
protected
Http.​PathString
OriginalPathBase
Logger
protected
System.​Text.​Encodings.​Web.​UrlEncoder
UrlEncoder
protected
ISystemClock
Clock
protected
System.​TimeProvider
TimeProvider
protected
Extensions.​Options.​IOptionsMonitor<​TOptions>
OptionsMonitor
protected
object
Events
protected
string
ClaimsIssuer
protected
string
CurrentUri
Methods
SignInAsync​(System.​Security.​Claims.​ClaimsPrincipal user,
AuthenticationProperties? properties)
HandleSignInAsync​(System.​Security.​Claims.​ClaimsPrincipal user,
AuthenticationProperties? properties)
Override this method to handle SignIn.
Returns A Task.
SignOutAsync​(AuthenticationProperties? properties)
Inherited from SignOutAuthenticationHandler<​TOptions>
HandleSignOutAsync​(AuthenticationProperties? properties)
Inherited from SignOutAuthenticationHandler<​TOptions>
InitializeAsync​(AuthenticationScheme scheme,
Http.​HttpContext context)
Inherited from AuthenticationHandler<​TOptions>
InitializeEventsAsync​()
Inherited from AuthenticationHandler<​TOptions>
protected
System.​Threading.​Tasks.​Task<​object>
CreateEventsAsync​()
Inherited from AuthenticationHandler<​TOptions>
InitializeHandlerAsync​()
Inherited from AuthenticationHandler<​TOptions>
protected
string
BuildRedirectUri​(string targetPath)
Inherited from AuthenticationHandler<​TOptions>
protected
string
ResolveTarget​(string scheme)
Inherited from AuthenticationHandler<​TOptions>
public
System.​Threading.​Tasks.​Task<​AuthenticateResult>
AuthenticateAsync​()
Inherited from AuthenticationHandler<​TOptions>
protected
System.​Threading.​Tasks.​Task<​AuthenticateResult>
HandleAuthenticateOnceAsync​()
Inherited from AuthenticationHandler<​TOptions>
protected
System.​Threading.​Tasks.​Task<​AuthenticateResult>
HandleAuthenticateOnceSafeAsync​()
Inherited from AuthenticationHandler<​TOptions>
protected
System.​Threading.​Tasks.​Task<​AuthenticateResult>
HandleAuthenticateAsync​()
Inherited from AuthenticationHandler<​TOptions>
HandleForbiddenAsync​(AuthenticationProperties properties)
Inherited from AuthenticationHandler<​TOptions>
HandleChallengeAsync​(AuthenticationProperties properties)
Inherited from AuthenticationHandler<​TOptions>
ChallengeAsync​(AuthenticationProperties? properties)
Inherited from AuthenticationHandler<​TOptions>
ForbidAsync​(AuthenticationProperties? properties)
Inherited from AuthenticationHandler<​TOptions>
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object